package com.sl.au.service;
import java.util.List;
import java.util.Map;

import com.sl.au.entity.Task;
import com.sl.au.entity.User;
import com.sl.au.repository.TaskRepository;

public interface IndexService extends BaseService {
	
	TaskRepository getRepository();

	
	/**
	 * 获取待处理的任务
	 */
	List<Task> getMyTask(int start, int length,String userId,String roleId);


	void getAafterSale();
	
	
	/*
	 * 获得新增的销售信息数量（移动端使用）
	 */
	Map<String,Object> newAddCount(Map<String,String>condition);
	
    long getNewChance(Map<String,String>condition);
	
	long getNewContract(Map<String,String>condition);
	
	long getNewCustomer(Map<String,String>condition);
}
